package com.neuedu.xkxt.service;

import com.neuedu.xkxt.model.Course;
import com.neuedu.xkxt.model.ScoreDetails;
import com.neuedu.xkxt.model.Student;
import com.neuedu.xkxt.vo.PageVO;

import java.util.List;

public interface CourseService {
    int addCourse(Course course);

    int updateCourse(Course course);

    int deleteCourse(int id);

    PageVO<Student> page(int pageNo, int pageSize,int courseId);

    int delStudentCourseRel(int courseId,int studentId);

    void saveScore(int stuId, int courseId, int score);

    List<ScoreDetails> scoreDetails();
}
